package com.icetech.eom.service.sys;

import com.baomidou.mybatisplus.extension.service.IService;
import com.icetech.eom.domain.sys.RolePermission;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangzw
 * @since 2018-12-10
 */
public interface IRolePermissionService extends IService<RolePermission> {

    List<RolePermission> findByPermissionId(Long permissionId);

    List<RolePermission> findByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);
}
